package bll;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

public class Student extends Object {
    private String no;
    private String name;
    public Student(String no, String name) {
        this.no = no;
        this.name = name;
    }
    public String getNo() {
        return no;
    }
    public void setNo(String no) {
        this.no = no;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setValue(String no, String name) {
        this.no = no;
        this.name = name;
    }
    @Override
    public String toString() {
        return String.format("学号为：%s,姓名为：%s", this.no, this.name);
    }
}

